
import java.util.Arrays;
import java.util.Date;
import java.util.Scanner;
import java.sql.*;
//import static java.lang.Math.*;
//import static java.lang.System.*;
public class Test {

    public static void main(String[] args) {
        double x = 30;
        double y = 40;

        //静态方法的方式写起来更方便一些
        double result = Math.sqrt(Math.pow(x,2) + Math.pow(x,2));
        //double result = sqrt (pow(x,2)+pow(x,2));
        System.out.println(result);

    }

    public static void main1(String[] args) {
        Person person1 = new Person();
        person1.eat();
        System.out.println(person1);
       // Person person2 = new Person("bit",10);


        int[] array = {1,2,3,4,5};
        System.out.println(Arrays.toString(array));

        Scanner scanner = new Scanner(System.in) ;

        Date data = new Date(100);
    }
}
